#pragma once
#include "guielement.h"
#include <string>
#include "SDL_ttf.h"
#include "Draw.h"
class StringLabel :
	public GuiElement
{
private:
	
    std::string str;
	 SDL_Surface *text; 
	TTF_Font *font ;

	//The color of the font
	SDL_Color *textColor;
public:
	StringLabel(int x, int y, std::string txt);
	~StringLabel(void);
		void drawElement(SDL_Surface* screen);
	void onClick();
	void handleInput(SDL_Event event);
	void onClickOut();
};

